package com.ljf.admin;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @Auther: lijinfeng
 * @Date: 2022/4/23
 * @Description 描述: spring boot 启动类
 */
@SpringBootApplication
public class AdminApplication {

    public static void main(String[] args) {
        SpringApplication.run(AdminApplication.class);

        // 下面为了测试@PreDestroy是否生效
//        ConfigurableApplicationContext run = SpringApplication.run(AdminApplication.class);
//        run.close();
    }
}
